<?xml version="1.0" encoding="ISO-8859-1" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<body>
	<ui:composition template="template.xhtml">
		<ui:define name="content">
			<f:view>
				<h:form>
					<h:panelGrid columns="2">
						<h:outputLabel value="Login:" for="un" />
						<h:inputText id="un" value="#{login.userName}" required="true"
							requiredMessage="Por favor digite seu login" />
						<h:outputLabel value="Senha:" for="pw" />
						<h:inputSecret id="pw" value="#{login.password}" required="true"
							requiredMessage="Por favor digite sua senha" />
					</h:panelGrid>
					<h:commandButton value="Login" action="#{login.onLogon}" />
					<h:messages layout="table" />
				</h:form>
			</f:view>
		</ui:define>
	</ui:composition>
</body>
</html>


